package com.mindainfo.groundwave.server.equipment.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.mindainfo.groundwave.server.equipment.bean.TerminalInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by MD-01 on 2017/7/7.
 */
public interface TerminalInfoMapper extends BaseMapper<TerminalInfo>{

    List<TerminalInfo> queryList(@Param("start")Integer start,
                                 @Param("num")Integer num,
                                 @Param("key")String key,
                                 @Param("deptIdList")List<Integer> deptIdList);

    int queryListCount(@Param("key")String key,
                       @Param("deptIdList")List<Integer> deptIdList);
}
